﻿<Window x:Class="JasRibbonApplicatie.Views.AanmeldWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Jas Aanmelden" Height="390" Width="550" ResizeMode="NoResize" Closed="Window_Closed">
    <Window.Resources>
        <Storyboard x:Name="FadeOut" x:Key="StoryboardDifferentUsers">
            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="passwordTextbox">
                <EasingDoubleKeyFrame KeyTime="0" Value="0"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="1"/>
            </DoubleAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="loginButton">
                <EasingDoubleKeyFrame KeyTime="0" Value="-33"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="0"/>
            </DoubleAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="annulerenButton">
                <EasingDoubleKeyFrame KeyTime="0" Value="-33"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="0"/>
            </DoubleAnimationUsingKeyFrames>
        </Storyboard>
        <Storyboard x:Name="FadeIn" x:Key="StoryboardDifferentUsers2">
            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="loginButton">
                <EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="-33"/>
            </DoubleAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)" Storyboard.TargetName="annulerenButton">
                <EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="-33"/>
            </DoubleAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="passwordTextbox">
                <EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="0"/>
            </DoubleAnimationUsingKeyFrames>
        </Storyboard>
    </Window.Resources>
    <Grid>
        <Grid.Background>
            <ImageBrush ImageSource="/JasRibbonApplicatie;component/Images/login_bg.jpg" Stretch="Fill" TileMode="Tile" Viewport="0,0,733.333333333333,513.333333333333" ViewportUnits="Absolute" />
        </Grid.Background>
        <TextBox Height="23" HorizontalAlignment="Left" Margin="220,125,0,0" Name="userTextbox" VerticalAlignment="Top" Width="222" TextChanged="userTextbox_TextChanged" ToolTip="Gebruikersnaam invoeren"/>
        <Label Content="Gebruikersnaam" FontWeight="Bold" Height="28" HorizontalAlignment="Left" Margin="220,98,0,0" Name="gebruikersnaamTextLabel" VerticalAlignment="Top" />
        <PasswordBox Height="23" HorizontalAlignment="Left" Margin="220,168,0,0" Name="passwordTextbox" Password="" VerticalAlignment="Top" Width="222" Visibility="Hidden" IsEnabled="True" IsManipulationEnabled="False" Opacity="0" ToolTip="Wachtwoord invoeren" />
        <Label Content="Scan uw badge voor de gebruikersnaam" FontSize="8" Height="28" HorizontalAlignment="Left" Margin="216,142,0,0" Name="shortInfoLabel" VerticalAlignment="Top" />
        <Button Content="Aanmelden" Height="23" HorizontalAlignment="Left" Margin="220,201,0,0" Name="loginButton" VerticalAlignment="Top" Width="75" Click="loginButton_Click" IsDefault="True" RenderTransformOrigin="0.5,0.5" ToolTip="Aanmelden bij Jas">
            <Button.RenderTransform>
                <TransformGroup>
                    <ScaleTransform/>
                    <SkewTransform/>
                    <RotateTransform/>
                    <TranslateTransform/>
                </TransformGroup>
            </Button.RenderTransform>
        </Button>
        <Label Content="Aanmelden bij JAS" Height="43" HorizontalAlignment="Left" Margin="145,31,0,0" Name="hoofdingLabel" VerticalAlignment="Top" FontSize="24" Width="217" />
        <Image Height="61" HorizontalAlignment="Left" Margin="56,143,0,0" Name="logoImage" Stretch="Fill" VerticalAlignment="Top" Width="128" Source="/JasRibbonApplicatie;component/Images/logo_128.png" />
        <Button Content="Annuleren" Margin="304,201,0,0" Name="annulerenButton" Click="annulerenButton_Click" IsCancel="True" RenderTransformOrigin="0.5,0.5" HorizontalAlignment="Left" Width="75" Height="23" VerticalAlignment="Top" ToolTip="Aanmelden Annuleren">
            <Button.RenderTransform>
                <TransformGroup>
                    <ScaleTransform/>
                    <SkewTransform/>
                    <RotateTransform/>
                    <TranslateTransform/>
                </TransformGroup>
            </Button.RenderTransform>
        </Button>
    </Grid>
</Window>
